import { createApp,globalProperties } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import axios from "axios"

const app = createApp(App)

app.config.globalProperties.$user_img = '用户的头像地址';

app.use(router).provide("$axios",axios).mount('#app')



// app.config.globaProperties.$axios = axios  // 挂载到全局 